package com.zhangj.springcloud.sevice.impl;

import com.zhangj.springcloud.sevice.PaymentService;
import org.springframework.stereotype.Component;

/**
 * @ClassName PaymentServiceImpl
 * @Description
 * @Author zhangjie
 * @Date 2022/1/18 16:43
 * @Version 1.0
 */
@Component
public class PaymentFallbackImpl implements PaymentService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "80自己的Ok降级";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "80自己的timeout降级";
    }
}
